﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebClient.clientCtrls
{
    public partial class home : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack) { 
                WebData db = new WebData();
                this.grdPoduct.DataSource = db.GetAllProducts();
                this.grdPoduct.DataBind();
            }
        }
    }
}